//提示文字
var oContainer = document.querySelector(".container");
var oInput01 = document.getElementsByClassName("input-text")[0];
var oInput01Desc = document.querySelector(".input-text-desc");
myAddEvent(oInput01, 'blur', function () {
    // console.log('aaa');
    if (!this.value) {
        oInput01Desc.style.display = "block";
    }
})

var oInput02 = document.querySelector(".input-password");
var oInput02Desc = document.querySelector(".form1 .input-text-desc1");
myAddEvent(oInput02, 'blur', function () {
    console.log('aaa');
    if (!this.value) {
        oInput02Desc.style.display = "block";
    }
})

var oInput03 = document.querySelector(".input-cptcha");
var oInput03Desc = document.querySelector(".input-cptcha-desc2");
myAddEvent(oInput03, 'blur', function () {
    // console.log(oInput03Desc.innerHTML);
    if (!this.value) {
        oInput03Desc.style.display = "block";
    }
})

var oInput04 = document.querySelector(".input-phone");
var oInput04Desc = document.querySelector(".input-phone-desc3");
myAddEvent(oInput04, 'blur', function () {
    // console.log(oInput04Desc.innerHTML);
    if (!this.value) {
        oInput04Desc.style.display = "block";
    }
})
